package com.atguigu.gmall.product.component;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "minio") //自动将配置文件中minio下的所有配置项和当前类的属性1-1对应
public class MinioProperties {

    //1、先让所有属性生效
    private String endpoint;
    private String accessKey;
    private String secretKey;

    private String bucketName;
}
